﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="StaffScore.aspx.cs" Inherits="Module_StaffManger_StaffScore" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" />
    <ext:Panel ID="Panel1" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
        ShowBorder="false" ShowHeader="false" Title="Panel" Layout="Fit">
        <Items>
            <ext:TabStrip ID="TabStrip1" runat="server" ActiveTabIndex="0" ShowBorder="True">
                <Tabs>
                    <ext:Tab ID="Tab1" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        Layout="Fit" Title="保护客户列表">
                        <Items>
                            <ext:Grid ID="Grid1" runat="server" EnableCheckBoxSelect="true" EnableRowNumber="true"
                                AllowPaging="true" EnableRowClick="true" ShowHeader="false" ShowBorder="false"
                                DataKeyNames="CustID" OnRowDataBound="Grid1_RowDataBound"  PageSize="25" IsDatabasePaging="true"
                                OnPageIndexChange="Grid1_PageIndexChange">
                                <Columns>
                                    <ext:TemplateField>
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton3" runat="server">客户详细信息</asp:LinkButton>
                                        </ItemTemplate>
                                    </ext:TemplateField>
                                    <ext:TemplateField>
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton4" runat="server">指定员工</asp:LinkButton>
                                        </ItemTemplate>
                                    </ext:TemplateField>
                                    <ext:BoundField HeaderText="客户名称" DataField="CustName" Width="100px" />
                                    <ext:BoundField HeaderText="客户公司名称" DataField="CompanyName" Width="100px" />
                                    <ext:BoundField HeaderText="客户电话" DataField="TelPhone" Width="100px" />
                                    <ext:BoundField HeaderText="客户地址" DataField="CustAddress" Width="200px" />
                                    <ext:BoundField HeaderText="添加时间" DataField="Creatime" Width="150px" />
                                </Columns>
                            </ext:Grid>
                        </Items>
                    </ext:Tab>
                    <ext:Tab ID="Tab2" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        Title="意向客户列表" Layout="Fit">
                        <Toolbars>
                            <ext:Toolbar runat="server">
                                <Items>
                                    <ext:TextBox ID="CustID" runat="server" Label="CustID" Text="" Hidden="true" >
                                    </ext:TextBox>
                                    <ext:TextBox ID="tel" runat="server" Label="tel" Text="" Hidden="true">
                                    </ext:TextBox>
                                    <ext:TextBox ID="staffID" runat="server" Label="staffID" Text="" Hidden="true">
                                    </ext:TextBox>
                                    <ext:TextBox ID="Name" runat="server" Label="Name" Text="" Hidden="true">
                                    </ext:TextBox>
                                    <ext:TextBox ID="TextBox1" runat="server" Label="Label" Text="" Hidden="true">
                                    </ext:TextBox>
                                </Items>
                            </ext:Toolbar>
                        </Toolbars>
                        <Items>
                            <ext:Grid ID="Grid2" runat="server" EnableCheckBoxSelect="true" EnableRowNumber="true"
                                AllowPaging="true" EnableRowClick="true" ShowHeader="false" ShowBorder="false" PageSize="25" IsDatabasePaging="true"
                                DataKeyNames="CustID" OnRowDataBound="Grid2_RowDataBound" OnPageIndexChange="Grid2_PageIndexChange">
                                <Columns>
                                    <ext:TemplateField>
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton2" runat="server">客户详细信息</asp:LinkButton>
                                        </ItemTemplate>
                                    </ext:TemplateField>
                                    <ext:TemplateField>
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton1" runat="server">指定员工</asp:LinkButton>
                                        </ItemTemplate>
                                    </ext:TemplateField>
                                    <ext:BoundField HeaderText="客户名称" DataField="CustName" Width="100px" />
                                    <ext:BoundField HeaderText="客户公司名称" DataField="CompanyName" Width="100px" />
                                    <ext:BoundField HeaderText="客户电话" DataField="TelPhone" Width="100px" />
                                    <ext:BoundField HeaderText="客户地址" DataField="CustAddress" Width="200px" />
                                    <ext:BoundField HeaderText="添加时间" DataField="Creatime" Width="150px" />
                                </Columns>
                            </ext:Grid>
                        </Items>
                    </ext:Tab>
                    <ext:Tab ID="Tab3" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        Title="已经删除客户列表" Layout="Fit">
                        <Items>
                            <ext:Grid ID="Grid3" runat="server" EnableCheckBoxSelect="true" EnableRowNumber="true"
                                DataKeyNames="CustID" AllowPaging="true" EnableRowClick="true" ShowHeader="false" PageSize="25" IsDatabasePaging="true"
                                ShowBorder="false" OnRowDataBound="Grid3_RowDataBound" OnPageIndexChange="Grid3_PageIndexChange">
                                <Columns>
                                    
                                    <ext:TemplateField>
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton5" runat="server">客户详细信息</asp:LinkButton>
                                        </ItemTemplate>
                                    </ext:TemplateField>
                                    <ext:TemplateField>
                                        <ItemTemplate>
                                            <asp:LinkButton ID="LinkButton6" runat="server">指定员工</asp:LinkButton>
                                        </ItemTemplate>
                                    </ext:TemplateField>

                                    <ext:BoundField HeaderText="客户名称" DataField="CustName" Width="100px" />
                                    <ext:BoundField HeaderText="客户公司名称" DataField="CompanyName" Width="100px" />
                                    <ext:BoundField HeaderText="客户电话" DataField="TelPhone" Width="100px" />
                                    <ext:BoundField HeaderText="客户地址" DataField="CustAddress" Width="200px" />
                                    <ext:BoundField HeaderText="添加时间" DataField="Creatime" Width="150px" />
                                </Columns>
                            </ext:Grid>
                        </Items>
                    </ext:Tab>
                </Tabs>
            </ext:TabStrip>
        </Items>
    </ext:Panel>
    <ext:Window ID="Window1" runat="server" Height="500px" IsModal="true" Popup="false"
        Title="Window" Width="850px" EnableIFrame="true" IFrameUrl="#">
    </ext:Window>
    <ext:Window ID="Window2" runat="server" Height="500px" IsModal="true" Popup="false"
        IFrameUrl="#" EnableIFrame="true" EnableClose="true" Title="Window" Width="200px"
        OnClose="Window2_Close">
    </ext:Window>
    </form>
</body>
</html>
